package wwk.com.android_meilishuo.mvp.model;

import android.content.Context;

import com.wwk.core.mvp.model.ModelBase;

import java.util.List;

import wwk.com.android_meilishuo.ui.home.bean.InfoBean;
import wwk.com.android_meilishuo.ui.home.bean.TrendBean;
import wwk.com.android_meilishuo.ui.home.bean.ChannelBean;
import wwk.com.android_meilishuo.ui.home.bean.FashionTitleBean;
import wwk.com.android_meilishuo.ui.home.bean.ListBean;

import wwk.com.android_meilishuo.ui.secondfloor.DataBean;
import wwk.com.android_meilishuo.ui.secondfloor.EmptyLayout;

/**
 * Created by Administrator on 2016/12/28.
 */

public class MLSModel extends ModelBase {
    //二楼图片加载接口
    public interface ISecondFloorBiz {
        void loadSecondFloorData(OnSecondFloorListener onSecondFloorListener, Context context, EmptyLayout sf_EmptyLayout);
    }

    //二楼图片加载成功与否的接口
    public interface OnSecondFloorListener {
        void onSuccess(List<DataBean> list);

        void onFailed(Exception e);
    }

    //加载 好物搭配  正在流行  每日上新等提标题
    public interface IHomeHeadBiz {
        void loadHomeHeadData(OnHomeHeadListener onHomeHeadListener, Context context);

        void loadBeautyHeadData(OnBeautyHeadListener onBeautyHeadListener, Context context);

        void loadTrendHeadData(OnTrendHeadListener onTrendHeadListener, Context context);
    }

    //加载 好物搭配  正在流行  每日上新等提标题成功与否
    public interface OnHomeHeadListener {
        void onHeadSuccess(List<ChannelBean.ListBean> list);

        void onFashionSuccess(List<FashionTitleBean.ListBean> list);

        void onFailed(Exception e);
    }

    public interface OnBeautyHeadListener {
        void onBeautySuccess(List<ListBean> list);

        void onFailed(Exception e);
    }

    public interface OnTrendHeadListener {
        void onTrendSuccess(List<TrendBean.DataBean.ListBean> list, TrendBean.DataBean.TomorrowAdvanceBean tomorrowBean);

        void onFailed(Exception e);
    }


    public interface IAssortBiz {
        void loadMAssortData(OnBannerListener onBannerListener, Context context);

        void onFailed(Exception e);
    }

    public interface OnBannerListener {
        void onBannerSuccess(List<ListBean> list);
        void onAllAssortSuccess(List<ListBean> list);
        void onAllTitletSuccess(InfoBean infoBean);
        void onTagtSuccess(List<ListBean> list);
        void onTagTitletSuccess(InfoBean infoBean);

        void onCategory1tSuccess(List<ListBean> list);
        void onCategory1TitletSuccess(InfoBean infoBean);

        void onCategory2Success(List<ListBean> list);
        void onCategory2TitletSuccess(InfoBean infoBean);

        void onCategory3Success(List<ListBean> list);
        void onCategory3TitletSuccess(InfoBean infoBean);

        void onFailed(Exception e);
    }
}
